Xbasic

ANSI_TO_OEM Function

Syntax

Result_String as C = ANSI_TO_OEM(C string,N length)

Arguments

string

A string variable containing the data to be translated.

length

The number of characters to translate. Numeric

Description

Interface to windows ansi_to_oem function

Discussion

The ANSI_TO_OEM() converts the specified Number_of_Characters in the Source_Buffer from the ANSI (Windows) character set to the OEM (DOS) character set, and returns the result in Result_String. Converts the specified Number of Characters in the Source Buffer from the ANSI (Windows) character set to the OEM (DOS) character set.

See Also